aa ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ac ac ac 
ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ab ab ad ad ad ad ab ab ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ab ae af af af af ag ab ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ab ae af af af af af ah ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ab ai af af af af af ag ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ae af af af af af af af ah ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ae af af af af af af af ah ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ab ac aj af af af af af ah ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab aj af af ak ac ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ae af af ah ab ab ab ab ab 
ab ab ab ab al am an ab ab ab ab ab ab ab ab ai af ak ab ab ab ab ab ab 
ab ab ab al ao ap aq an ab ab ab ab ab ab ae af af ah ab ab ab ab ab ab 
ab ab al ao ap ap ap ar ab ab ab ab ab ab ae af ak ab ab ab ab ab ab ab 
ab ab as ap ap ap ap ar ab ab ab ab ad ad ai af ah ab ab ab ab ab ab ab 
ab ab at au au au au av ab ab ab ae af af af af ah ab ab ab ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ab ai af ak ac ac ab ab ab ab ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ae af af ah ab ab ab ab ab ab ab ab ab ab 
ab ab ab ab ab ab ab ab ab ab ae af ak ab ab ab ab ab ab ab ab ab ab ab 
ag ab ab ab ab ab ab ab ab ab ae af ah ab ab ab ab ab ab ab ab ab ab ab 
af ah ab ab ab ab ab ab al am aw af ax am am am an ab ab ab ab ab ab ab 

:def
battle_bg=generic.png
level_left=world0x2.txt
level_right=world2x2.txt
level_down=world1x3.txt
level_up=world1x1.txt
level_downleft=world0x3.txt
level_upleft=world0x1.txt
level_upright=world2x1.txt
level_downright=world2x3.txt
:aa
pix("grass.png")
walk(1)
if(stat("level"), "<", 2)
	mapstat("addmonster", "Orc")
	end()
endif
if(stat("level"), "<", 4)
	mapstat("addmonster", "Orc")
	mapstat("addmonster", "Ferocious Armless")
	end()
endif
if(stat("level"), "<", 6)
	mapstat("addmonster", "Orc")
	mapstat("addmonster", "Ferocious Armless")
	mapstat("addmonster", "Highway Bandit")
	end()
endif
if(stat("level"), "<", 8)
	mapstat("addmonster", "Orc")
	mapstat("addmonster", "Ferocious Armless")
	mapstat("addmonster", "Highway Bandit")
	mapstat("addmonster", "Acid Slime")
	mapstat("addmonster", "Acid Slime")
	end()
endif
if(stat("level"), "<", 10)
	mapstat("addmonster", "Orc")
	mapstat("addmonster", "Ferocious Armless")
	mapstat("addmonster", "Highway Bandit")
	mapstat("addmonster", "Acid Slime")
	mapstat("addmonster", "Giant Spider")
	mapstat("addmonster", "Giant Spider")
	end()
endif
if(stat("level"), "<", 12)
	mapstat("addmonster", "Orc")
	mapstat("addmonster", "Ferocious Armless")
	mapstat("addmonster", "Highway Bandit")
	mapstat("addmonster", "Acid Slime")
	mapstat("addmonster", "Giant Spider")
	mapstat("addmonster", "Wizard")
	mapstat("addmonster", "Wizard")
	end()
endif
if(stat("level"), "<", 14)
	mapstat("addmonster", "Orc")
	mapstat("addmonster", "Ferocious Armless")
	mapstat("addmonster", "Highway Bandit")
	mapstat("addmonster", "Acid Slime")
	mapstat("addmonster", "Giant Spider")
	mapstat("addmonster", "Wizard")
	mapstat("addmonster", "Goblin")
	mapstat("addmonster", "Goblin")
	end()
endif
if(stat("level"), "<", 16)
	mapstat("addmonster", "Ferocious Armless")
	mapstat("addmonster", "Highway Bandit")
	mapstat("addmonster", "Acid Slime")
	mapstat("addmonster", "Giant Spider")
	mapstat("addmonster", "Wizard")
	mapstat("addmonster", "Goblin")
	mapstat("addmonster", "Skeleton")
	mapstat("addmonster", "Skeleton")
	end()
endif
if(stat("level"), "<", 18)
	mapstat("addmonster", "Highway Bandit")
	mapstat("addmonster", "Acid Slime")
	mapstat("addmonster", "Giant Spider")
	mapstat("addmonster", "Wizard")
	mapstat("addmonster", "Goblin")
	mapstat("addmonster", "Skeleton")
	mapstat("addmonster", "Troll")
	mapstat("addmonster", "Troll")
	end()
endif
if(stat("level"), "<", 20)
	mapstat("addmonster", "Acid Slime")
	mapstat("addmonster", "Giant Spider")
	mapstat("addmonster", "Wizard")
	mapstat("addmonster", "Goblin")
	mapstat("addmonster", "Skeleton")
	mapstat("addmonster", "Troll")
	mapstat("addmonster", "Death Knight")
	mapstat("addmonster", "Death Knight")
	end()
endif
if(stat("level"), "<", 22)
	mapstat("addmonster", "Giant Spider")
	mapstat("addmonster", "Wizard")
	mapstat("addmonster", "Goblin")
	mapstat("addmonster", "Skeleton")
	mapstat("addmonster", "Troll")
	mapstat("addmonster", "Death Knight")
	mapstat("addmonster", "Bronze Golem")
	mapstat("addmonster", "Bronze Golem")
	end()
endif
if(stat("level"), "<", 24)
	mapstat("addmonster", "Wizard")
	mapstat("addmonster", "Goblin")
	mapstat("addmonster", "Skeleton")
	mapstat("addmonster", "Troll")
	mapstat("addmonster", "Death Knight")
	mapstat("addmonster", "Bronze Golem")
	mapstat("addmonster", "Dark Goblin")
	mapstat("addmonster", "Dark Goblin")
	end()
endif
if(stat("level"), "<", 26)
	mapstat("addmonster", "Goblin")
	mapstat("addmonster", "Skeleton")
	mapstat("addmonster", "Troll")
	mapstat("addmonster", "Death Knight")
	mapstat("addmonster", "Bronze Golem")
	mapstat("addmonster", "Dark Goblin")
	mapstat("addmonster", "Iron Golem")
	mapstat("addmonster", "Iron Golem")
	end()
endif
if(stat("level"), "<", 28)
	mapstat("addmonster", "Skeleton")
	mapstat("addmonster", "Troll")
	mapstat("addmonster", "Death Knight")
	mapstat("addmonster", "Bronze Golem")
	mapstat("addmonster", "Dark Goblin")
	mapstat("addmonster", "Iron Golem")
	mapstat("addmonster", "Gold Dragon")
	mapstat("addmonster", "Gold Dragon")
	end()
endif
if(stat("level"), "<", 28)
	mapstat("addmonster", "Troll")
	mapstat("addmonster", "Death Knight")
	mapstat("addmonster", "Bronze Golem")
	mapstat("addmonster", "Dark Goblin")
	mapstat("addmonster", "Iron Golem")
	mapstat("addmonster", "Gold Dragon")
	mapstat("addmonster", "Lost Soul")
	mapstat("addmonster", "Lost Soul")
	end()
endif
if(stat("level"), "<", 30)
	mapstat("addmonster", "Death Knight")
	mapstat("addmonster", "Bronze Golem")
	mapstat("addmonster", "Dark Goblin")
	mapstat("addmonster", "Iron Golem")
	mapstat("addmonster", "Gold Dragon")
	mapstat("addmonster", "Lost Soul")
	mapstat("addmonster", "Ice Dragon")
	mapstat("addmonster", "Ice Dragon")
	end()
endif
if(stat("level"), "<", 32)
	mapstat("addmonster", "Bronze Golem")
	mapstat("addmonster", "Dark Goblin")
	mapstat("addmonster", "Iron Golem")
	mapstat("addmonster", "Gold Dragon")
	mapstat("addmonster", "Lost Soul")
	mapstat("addmonster", "Ice Dragon")
	mapstat("addmonster", "Platinum Golem")
	mapstat("addmonster", "Platinum Golem")
	end()
endif
if(stat("level"), "<", 34)
	mapstat("addmonster", "Dark Goblin")
	mapstat("addmonster", "Iron Golem")
	mapstat("addmonster", "Gold Dragon")
	mapstat("addmonster", "Lost Soul")
	mapstat("addmonster", "Ice Dragon")
	mapstat("addmonster", "Platinum Golem")
	mapstat("addmonster", "Black Dragon")
	mapstat("addmonster", "Black Dragon")
	end()
endif
#above level 34:
mapstat("addmonster", "Iron Golem")
mapstat("addmonster", "Gold Dragon")
mapstat("addmonster", "Lost Soul")
mapstat("addmonster", "Ice Dragon")
mapstat("addmonster", "Platinum Golem")
mapstat("addmonster", "Black Dragon")
mapstat("addmonster", "Black Dragon")
:ab
pix("grass.png")
walk(1)
:ac
pix("water/water_s.png")
walk(1)
:ad
pix("water/water_n.png")
walk(1)
:ae
pix("water/water_w.png")
walk(1)
:af
pix("water/water.png")
walk(0)
:ag
pix("water/water_ne.png")
walk(1)
:ah
pix("water/water_e.png")
walk(1)
:ai
pix("water/water_nw.png")
walk(1)
:aj
pix("water/water_sw.png")
walk(1)
:ak
pix("water/water_se.png")
walk(1)
:al
pix("forest_nw2.png")
walk(1)
:am
pix("forest_n.png")
walk(1)
:an
pix("forest_ne.png")
walk(1)
:ao
pix("forest_nw3.png")
walk(1)
:ap
pix("forest.png")
walk(1)
:aq
pix("forest_ne2.png")
walk(1)
:ar
pix("forest_e.png")
walk(1)
:as
pix("forest_w.png")
walk(1)
:at
pix("forest_sw.png")
walk(1)
:au
pix("forest_s.png")
walk(1)
:av
pix("forest_se.png")
walk(1)
:aw
pix("forest_ne.png")
walk(1)
addpix("water/water_w_trans.png")
:ax
pix("forest_nw2.png")
walk(1)
addpix("water/water_e_trans.png")
